package com.toune.movie.mvp.presenter;

import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.MovieVideoActivity;
import com.toune.movie.mvp.contract.MovieVideoContract;
import com.toune.movie.mvp.model.MovieVideoModel;
import com.toune.movie.vo.VarietyVo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/15.
 */

public class MovieVideoPresenter extends BasePresenterImpl<MovieVideoActivity> implements MovieVideoContract.Presenter {
    MovieVideoModel movieVideoModel = new MovieVideoModel(this);

    @Override
    public void setVo(List<VarietyVo> voList) {
        mView.setVo(voList);
    }

    @Override
    public void setHeaders(List<VarietyVo> varietyVos) {
        mView.setHeaders(varietyVos);
    }

    @Override
    public void getVo(String url, int page) {
        movieVideoModel.getVo(url,page);
    }
}
